package com.imooc.annotation_demo.filters;

import com.imooc.annotation_demo.enums.SqlWhereEnum;

public class Condition {
    private SqlWhereEnum sqlWhereEnum;

    private String fieldName;

    public SqlWhereEnum getSqlWhereEnum() {
        return sqlWhereEnum;
    }

    public void setSqlWhereEnum(SqlWhereEnum sqlWhereEnum) {
        this.sqlWhereEnum = sqlWhereEnum;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public Condition(SqlWhereEnum sqlWhereEnum, String fieldName) {
        this.sqlWhereEnum = sqlWhereEnum;
        this.fieldName = fieldName;
    }
}
